﻿using FarmSmartSleep.Common.Domain.Sales_Purchase;
using FarmSmartSleep.Common.Dtos;
using FarmSmartSleep.Common.Infrastructure;
using MediatR;
using System.Reflection.Metadata.Ecma335;

namespace FarmSmartSleep.Organ.API.Application.Sales_Purchase.BreedingSales
{
    /// <summary>
    /// 个人销售
    /// </summary>
    public class BreedingSalesListCommon:IRequest<ResultPage<List<SalesRecordListDto>>>
    {


        /// <summary>
        /// 销售时间时间
        /// </summary>
        public DateTime? salesDate { get; set; } 
        /// <summary>
        /// 客户
        /// </summary>
        public string? Customer { get; set; }
        /// <summary>
        /// 耳标
        /// </summary>
        public int EarTag { get; set; }
        /// <summary>
        /// 单据号
        /// </summary>
        public string? DocumentNumber { get; set; } 
        /// <summary>
        /// 部门
        /// </summary>
        public int Department { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string? ShippingAddress { get; set; }
        /// <summary>
        /// 销售人员
        /// </summary>
        public string? SalesPerson { get; set; }
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; }
    }
}
